package myDesiign.com.song.service.impl;

import lombok.Data;
import myDesiign.com.song.service.IMyService;
import org.springframework.stereotype.Component;

/**
 * @Author Klys
 * @Date 2023/6/19 10:20
 * @Description
 * @Version 1.0
 */
@Data
@Component
public class KlysServiceImpl implements IMyService {

    private String name = "KlysServiceImpl";

    @Override
    public Boolean judge(Integer value) {
        return value == 2 ? Boolean.TRUE : Boolean.FALSE;
    }

    @Override
    //    2--KlysServiceImpl的add方法处理完毕！
    public String add() {
        return "KlysServiceImpl---添加信息成功！";
    }


}
